package cn.huixh.blindbox.mapper;

import cn.huixh.blindbox.config.MybatisRedisCache;
import cn.huixh.blindbox.pojo.po.File;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.CacheNamespace;

import java.util.List;

/**
 * @author huixh
 * @version 1.0
 * @date 2022/5/10 15:03
 */
@CacheNamespace(implementation = MybatisRedisCache.class, eviction = MybatisRedisCache.class)
public interface FileMapper extends BaseMapper< File > {
    /**
     * 获取 file 列表
     *
     * @param id id
     * @return Files
     */
    List< File > selectByNoteIds(String id);
}
